/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.stemaini.core.doc;

/**
 *
 * @author AdhiK
 */
public class VektorNode {
    private String word;    //kata representasi term
    private int freq,       //frekuensi kata bersangkutan
                idTerm;         //idTerm Term, representasi dari no ID term pd Dbase "Terms"               
    private double bobot;
    
    public VektorNode(String word, int freq) {
        this.word = word;
        this.freq = freq;
    }

    public VektorNode(String word, int freq, int idTerm) {
        this.word = word;
        this.freq = freq;
        this.idTerm = idTerm;
    }

    public VektorNode(String word, int freq, double bobot) {
        this.word = word;
        this.freq = freq;
        this.bobot = bobot;
    }

    public VektorNode(String word, int freq, int idTerm, double bobot) {
        this.word = word;
        this.freq = freq;
        this.idTerm = idTerm;
        this.bobot = bobot;
    }
    
    public double getBobot() {
        return bobot;
    }

    public void setBobot(double bobot) {
        this.bobot = bobot;
    }
    
    public VektorNode(String word) {
        this.word = word;
    }

    public int getFreq() {
        return freq;
    }

    public String getWord() {
        return word;
    }

    public void setFreq(int freq) {
        this.freq = freq;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public void setIdTerm(int idTerm) {
        this.idTerm = idTerm;
    }

    public int getIdTerm() {
        return idTerm;
    }
    
    
}
